<template>
    <div>
            <!-- <Xsform    ></Xsform> -->
            <Xsform  :tabeoption ="tabeoption"   ></Xsform>
    </div>
</template>

<script>
import Xsform from '@/components/form/xsform.vue';
import  client from '@/components/user/clien.vue'
import  { userlist }  from  '@/api/user'
    export default {
        data() {
            return {
                tabeoption:{
                    postfn:userlist,
                    column:[
                    { prop:"id" , label:"id",  width:"120"  },
                    { prop:"nickname" , label:"昵称",  width:"150"  },
                    { prop:"username" , label:"账号",  width:"120"  },
                    { prop:"password" , label:"密码",  width:"120"  },
                    { prop:"lastLoginIp" , label:"ip地址",  width:"300"  },
                    { prop:"lastLoginTime" , label:"上一次登录",  width:"120"  },
                    { prop:"right" , label:"操作",  width:"100" ,slot:client },
                    ],
                    checkboxkey:"deleted",
                    checkboxGroup1: [{ name: "封号",   status:1 }, { name: "正常",    status:0  }],
                    options:[
                    {
                        value: '0',
                        label: '综合搜索'
                      }, {
                        value: 'username',
                        label: '用户'
                      }
              
                    ]
                }
            }
        },
    components: { Xsform }
}


</script>

<style lang="scss" scoped>

</style>